package com.tj.lyh.Controller;


import com.tj.lyh.Service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author author
 * @since 2024-03-18
 */
@RestController
@RequestMapping("/user")

public class UserController {

    @Autowired
    private  IUserService iUserService;

    @GetMapping("/getall")
    public String getall() {
        return iUserService.getall();
    }

}
